﻿<ion-view view-title="商品列表">
    <ion-content  >
         <label class="item item-input">
    <span class="input-label">搜索</span>
    <input type="text" ng-model="search" required>
  </label>
            <div class="card" ng-repeat="product in productlist |filter:search"  >
                <ion-item href="#/tab/product/{{product.product_id}}">名称: {{product.product_name}}</ion-item>
                <ion-item>类别: {{product.product_type}}</ion-item>
                <ion-item>价格:￥{{product.product_price}} </ion-item>
            </div>
           
    </ion-content>
</ion-view>